<?php

class Color_Modele extends Modele
{
	private $_id;
	private $_name;
	private $_hexa;
	
	
	static public function getRef($id, $name, $hexa)
	{
		return new Color_Modele($id, $name, $hexa);
	}	
	
	
	public function Color_Modele($id, $name, $hexa)
	{
		parent::Modele("color","id");
		$this->_id = $id;
		$this->_name = $name;
		$this->_hexa = $hexa;
	}
	
	public function get_id()
	{
		return $this->_id;
	}
	
	public function get_name()
	{
		return $this->_name;
	}
	
	public function get_hexa()
	{
		return $this->_hexa;
	}
}

?>
